import Vue from "vue";
import App from "./App.vue";
import router from "./router"; //路由
import "@/assets/scss/index.scss";
import "@/assets/css/character.css";
import "@/assets/css/theme.css";
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
import axios from "axios";
import store from "./store";
import Cookies from "js-cookie";

Vue.config.productionTip = false;

Vue.use(
	ElementUI
	// 	{ //ElementUI默认尺寸
	// 	size: Cookies.get("size") || "medium",
	// }
);
Vue.use(Cookies);

//全局挂载
Vue.prototype.$axios = axios;

new Vue({
	router,
	store,
	render: (h) => h(App),
}).$mount("#app");
